Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

feat: ipns over pubsub#846

Merged
alanshaw merged 3 commits intomasterfrom
feat/ipns-over-pubsub
Oct 24, 2018
Merged

feat: ipns over pubsub#846
alanshaw merged 3 commits intomasterfrom
feat/ipns-over-pubsub

Conversation

@vasco-santos
Copy link
Copy Markdown
Contributor

@vasco-santos vasco-santos commented Aug 31, 2018

Taking into consideration the most recent documentation of the API on:

http://ipfs.io/ipfs/QmPKzWaeHumLuiKLb2Ak67s5kxZ1p6YbnjVKYYfF9hTjzn

Needs:

Copy link
Copy Markdown
Contributor

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great @vasco-santos - I've made a few minor comments 🙌

Comment thread README.md
Comment thread src/name/pubsub/subs.js Outdated
const transform = function (res, callback) {
callback(null, {
strings: res.Strings
})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please can we just return an array here (and detect if go-ipfs returns null and change it to an empty array)

Comment thread test/interface.spec.js Outdated
// name.pubsub.cancel
{
name: 'should cancel a subscription correctly returning true',
reasone: 'go-ipfs is really slow for publishing and resolving ipns records, unless in offline mode'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: "reasone" => "reason"

Comment thread test/name-pubsub.spec.js Outdated
done()
})
})
})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are not needed - the interface-ipfs-core tests cover it adequetly.

@vasco-santos vasco-santos force-pushed the feat/ipns-over-pubsub branch 2 times, most recently from 8227bce to 7fcde72 Compare October 17, 2018 16:22
@alanshaw
Copy link
Copy Markdown
Contributor

@vasco-santos interface-ipfs-core@0.80 released

@vasco-santos vasco-santos force-pushed the feat/ipns-over-pubsub branch from ce3f028 to 44c3c9b Compare October 18, 2018 10:21
@alanshaw alanshaw merged commit ef49e95 into master Oct 24, 2018
@ghost ghost removed the in progress label Oct 24, 2018
@alanshaw alanshaw deleted the feat/ipns-over-pubsub branch October 24, 2018 12:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants